\hypertarget{classversion_sync_1_1pim_writer_1_1pim_writer}{
\section{versionSync.pimWriter.pimWriter Class Reference}
\label{classversion_sync_1_1pim_writer_1_1pim_writer}\index{versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}}
}


methods for writing into the evolution's files  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classversion_sync_1_1pim_writer_1_1pim_writer_abe710103240cc7c9f2b3fddce76559b3}{\_\-\_\-init\_\-\_\-}
\item 
def \hyperlink{classversion_sync_1_1pim_writer_1_1pim_writer_af8df3bae840f2164c9912cbb5c51fbb8}{berkleyWrite}
\begin{DoxyCompactList}\small\item\em puts a contact entry into address\_\-book.db \item\end{DoxyCompactList}\item 
def \hyperlink{classversion_sync_1_1pim_writer_1_1pim_writer_ac312fb963d0694ed2a91f9165c038004}{icsWrite}
\begin{DoxyCompactList}\small\item\em writes an event entry in calendar.ics \item\end{DoxyCompactList}\item 
def \hyperlink{classversion_sync_1_1pim_writer_1_1pim_writer_ab0f8bf47d8199a991bd84fdca8f326ea}{memosWrite}
\begin{DoxyCompactList}\small\item\em writes a memo entry in journal.ics \item\end{DoxyCompactList}\item 
def \hyperlink{classversion_sync_1_1pim_writer_1_1pim_writer_af7629971955eb342dc21acac1275d795}{contactsRemove}
\begin{DoxyCompactList}\small\item\em removes a contact entry from address\_\-book.db \item\end{DoxyCompactList}\item 
def \hyperlink{classversion_sync_1_1pim_writer_1_1pim_writer_ae1b9090235851e781d1c875ed602ec83}{icsRemove}
\begin{DoxyCompactList}\small\item\em removes an event entry from calendar.ics \item\end{DoxyCompactList}\item 
def \hyperlink{classversion_sync_1_1pim_writer_1_1pim_writer_a033cb491c07cea1f7a1ca41258c74969}{memosRemove}
\begin{DoxyCompactList}\small\item\em removes a memo entry from journal.ics \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
methods for writing into the evolution's files \begin{DoxyAuthor}{Author}
Alessio Di Pietro 

Irene Scionti \begin{DoxyVerb}
implemented methods for writing a single entry into the evolution's files  
\end{DoxyVerb}
 
\end{DoxyAuthor}


Definition at line 15 of file pimWriter.py.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classversion_sync_1_1pim_writer_1_1pim_writer_abe710103240cc7c9f2b3fddce76559b3}{
\index{versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}}
\subsubsection[{\_\-\_\-init\_\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimWriter.pimWriter.\_\-\_\-init\_\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{settings}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_writer_1_1pim_writer_abe710103240cc7c9f2b3fddce76559b3}
\begin{DoxyVerb}
Constructor
\end{DoxyVerb}
 

Definition at line 20 of file pimWriter.py.



\subsection{Member Function Documentation}
\hypertarget{classversion_sync_1_1pim_writer_1_1pim_writer_af8df3bae840f2164c9912cbb5c51fbb8}{
\index{versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}!berkleyWrite@{berkleyWrite}}
\index{berkleyWrite@{berkleyWrite}!versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}}
\subsubsection[{berkleyWrite}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimWriter.pimWriter.berkleyWrite (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{path\_\-file, }
\item[{}]{name\_\-file}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_writer_1_1pim_writer_af8df3bae840f2164c9912cbb5c51fbb8}


puts a contact entry into address\_\-book.db 


\begin{DoxyParams}{Parameters}
{\em name\_\-file} & name of the file to write in evolution's address\_\-book \\
\hline
{\em path\_\-file} & path of the directory where the file is \begin{DoxyVerb}
this method write the content of name_file, located in the directory indicated by path_file, in the evolution's address_book.db
\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


Definition at line 30 of file pimWriter.py.

\hypertarget{classversion_sync_1_1pim_writer_1_1pim_writer_af7629971955eb342dc21acac1275d795}{
\index{versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}!contactsRemove@{contactsRemove}}
\index{contactsRemove@{contactsRemove}!versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}}
\subsubsection[{contactsRemove}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimWriter.pimWriter.contactsRemove (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{uid\_\-entry}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_writer_1_1pim_writer_af7629971955eb342dc21acac1275d795}


removes a contact entry from address\_\-book.db 


\begin{DoxyParams}{Parameters}
{\em uid\_\-entry} & id of the entry to remove \begin{DoxyVerb}
remove an existing entry at the current revision from addressbook.db in order to replace with the same entry at another revision
\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


Definition at line 152 of file pimWriter.py.

\hypertarget{classversion_sync_1_1pim_writer_1_1pim_writer_ae1b9090235851e781d1c875ed602ec83}{
\index{versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}!icsRemove@{icsRemove}}
\index{icsRemove@{icsRemove}!versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}}
\subsubsection[{icsRemove}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimWriter.pimWriter.icsRemove (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{uid\_\-entry}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_writer_1_1pim_writer_ae1b9090235851e781d1c875ed602ec83}


removes an event entry from calendar.ics 


\begin{DoxyParams}{Parameters}
{\em uid\_\-entry} & id of the entry to remove \begin{DoxyVerb}
remove an existing entry at the current revision from calendar.ics in order to replace with the same entry at another revision
\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


Definition at line 180 of file pimWriter.py.

\hypertarget{classversion_sync_1_1pim_writer_1_1pim_writer_ac312fb963d0694ed2a91f9165c038004}{
\index{versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}!icsWrite@{icsWrite}}
\index{icsWrite@{icsWrite}!versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}}
\subsubsection[{icsWrite}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimWriter.pimWriter.icsWrite (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{path\_\-file, }
\item[{}]{name\_\-file}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_writer_1_1pim_writer_ac312fb963d0694ed2a91f9165c038004}


writes an event entry in calendar.ics 


\begin{DoxyParams}{Parameters}
{\em name\_\-file} & name of the file to write in evolution's calendar.ics, \\
\hline
{\em path\_\-file} & path of the directory where the file is \begin{DoxyVerb}
this method write the content of name_file, located in the directory indicated by path_file, in evolution's calendar.ics
in this way it is possible to add or restore an event previously deleted 
\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


Definition at line 55 of file pimWriter.py.

\hypertarget{classversion_sync_1_1pim_writer_1_1pim_writer_a033cb491c07cea1f7a1ca41258c74969}{
\index{versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}!memosRemove@{memosRemove}}
\index{memosRemove@{memosRemove}!versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}}
\subsubsection[{memosRemove}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimWriter.pimWriter.memosRemove (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{uid\_\-entry}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_writer_1_1pim_writer_a033cb491c07cea1f7a1ca41258c74969}


removes a memo entry from journal.ics 


\begin{DoxyParams}{Parameters}
{\em uid\_\-entry} & id of the entry to remove \begin{DoxyVerb}
remove an existing entry at the current revision from journal.ics in order to replace with the same entry at another revision
\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


Definition at line 234 of file pimWriter.py.

\hypertarget{classversion_sync_1_1pim_writer_1_1pim_writer_ab0f8bf47d8199a991bd84fdca8f326ea}{
\index{versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}!memosWrite@{memosWrite}}
\index{memosWrite@{memosWrite}!versionSync::pimWriter::pimWriter@{versionSync::pimWriter::pimWriter}}
\subsubsection[{memosWrite}]{\setlength{\rightskip}{0pt plus 5cm}def versionSync.pimWriter.pimWriter.memosWrite (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{path\_\-file, }
\item[{}]{name\_\-file}
\end{DoxyParamCaption}
)}}
\label{classversion_sync_1_1pim_writer_1_1pim_writer_ab0f8bf47d8199a991bd84fdca8f326ea}


writes a memo entry in journal.ics 


\begin{DoxyParams}{Parameters}
{\em name\_\-file} & name of the file to write in evolution's journal.ics, \\
\hline
{\em path\_\-file} & path of the directory where the file is \begin{DoxyVerb}
this method write the content of name_file, located in the directory indicated by path_file, in evolution's journal.ics
in this way it is possible to add or restore a memo previously deleted 
\end{DoxyVerb}
 \\
\hline
\end{DoxyParams}


Definition at line 104 of file pimWriter.py.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/alessio/workspace/versionSync/versionSync/src/versionSync/pimWriter.py\end{DoxyCompactItemize}
